package ltd.dujiabao.dualwrite.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @author Bowie Du
 * @date 2025/11/1 00:02
 */
@Data
@Configuration
@ConfigurationProperties(value = "datasource")
public class SwitchDataSourceProperties {
    /**
     * 数据库模式
     */
    private DataSourceMode mode;
}
